//引入mockjs模块
import Mock from "mockjs";
// 把json数据格式引入
import banner from "./banner.json";
import floor from "./floor.json";
// mock数据
Mock.mock("/mock/banner", { code: 200, data: banner }); //模拟首页轮播图的数据
Mock.mock("/mock/floor", { code: 200, data: floor });
